package zhtt.security.service;

import zhtt.security.domain.User;

import javax.annotation.security.RolesAllowed;

/**
 * Created by ztt on 2018/4/30.
 */
public class JSR250UserService implements UserService {

    @Override
    @RolesAllowed("ROLE_USER")
    public void addUser(User user) {
        System.out.println("Method was called successfully");

    }
}
